package com.wuye.rcgl.domain;

import com.wuye.basic.domain.WyCommunity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuye.common.annotation.Excel;
import com.wuye.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 维修员对象 wy_fixman
 * 
 * @author wpc
 * @date 2024-11-22
 */
@Data
public class WyFixman extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long fixmanId;

    /** 维修员名称 */
    @Excel(name = "维修员名称")
    private String fixmanName;

    /** 维修员电话 */
    @Excel(name = "维修员电话")
    private String fixmanPhone;

    /** 维修范围（描述维修员能干什么） */
    @Excel(name = "维修范围", readConverterExp = "描=述维修员能干什么")
    private String fixmanRange;

    /** 维修员性别 */
    @Excel(name = "维修员性别")
    private String fixmanSex;

    // 小区id集合
    private List<Long> fixmanCommunityIds;

    /** 小区集合*/
    private List<WyCommunity> communities ;

    public void setFixmanId(Long fixmanId) 
    {
        this.fixmanId = fixmanId;
    }

    public Long getFixmanId() 
    {
        return fixmanId;
    }
    public void setFixmanName(String fixmanName) 
    {
        this.fixmanName = fixmanName;
    }

    public String getFixmanName() 
    {
        return fixmanName;
    }
    public void setFixmanPhone(String fixmanPhone) 
    {
        this.fixmanPhone = fixmanPhone;
    }

    public String getFixmanPhone() 
    {
        return fixmanPhone;
    }
    public void setFixmanRange(String fixmanRange) 
    {
        this.fixmanRange = fixmanRange;
    }

    public String getFixmanRange() 
    {
        return fixmanRange;
    }
    public void setFixmanSex(String fixmanSex) 
    {
        this.fixmanSex = fixmanSex;
    }

    public String getFixmanSex() 
    {
        return fixmanSex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fixmanId", getFixmanId())
            .append("fixmanName", getFixmanName())
            .append("fixmanPhone", getFixmanPhone())
            .append("fixmanRange", getFixmanRange())
            .append("fixmanSex", getFixmanSex())
            .toString();
    }
}
